/*
 * @Author: TANGB02 13233582+Ace-Tang@user.noreply.gitee.com
 * @Date: 2024-02-28 17:44:11
 * @LastEditors: TANGB02 13233582+Ace-Tang@user.noreply.gitee.com
 * @LastEditTime: 2024-02-28 17:57:15
 * @FilePath: \ycq\ycq\ycq1.0\src\pinia\pinia.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineStore } from "pinia";

export const usePerDetailsStore = defineStore("perDetails", () => {
  const userName = ref("");
  const getUserName = () => {
    return userName.value;
  };
  const setUserName = (value) => {
    return (userName.value = value);
  };
  return { getUserName, setUserName };
});
